<include file="__THEME__/_header" />
<div id="body_page" name='body_page'>
  <div id="body-bg">

    <!-- Bootstrap core CSS -->
    <link href="__THEME__/bootstrap/dist/css/bootstrap.css" rel="stylesheet">

    <!--bootstrap-->
    <!--
 <link rel="stylesheet" href="__THEME__/bootstrap/dist/css/bootstrap.min.css">
    <script src="__THEME__/js/bootstrap.min.js"></script>
    -->
    <!-- Just for debugging purposes. Don't actually copy this line! -->
    <!--[if lt IE 9]>
    <script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script>
    <![endif]-->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
    <!--响应式布局-->
    <style type="text/css">
/* 当浏览器的可视区域小于980px */
/*@media screen and （max-width： 980px） {
#wrap {width： 90%; margin:0 auto;}
#content {width： 60%;padding： 5%;}
#sidebar {width： 30%;}
#footer {padding： 8% 5%;margin-bottom： 10px;}
}*/
/* 当浏览器的可视区域小于650px */

/* max-width */
@media screen and (max-width: 770px) {

/*bootstrap*/
.form-row input, .form-row .s-textarea{
  font-size: 14px;
  color: #555;
  vertical-align: middle;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form-blacklist .choose-user {
  width: 100%;
  margin-bottom: 10px;
}


/*login*/
  #wrap-hd {
  width: auto;
  top: 10px;
  left: 20px;
  height: 400px;
  margin:0 auto;
   }

   #footer .footer-wrap {
    margin: 0 auto;
    padding: 15px 0;
    width: auto !important;
    text-align: center;
    margin-left: 0px !important;
    position: relative !important;
    left: auto !important;
    line-height: 0 !important;
}

.s-login {
  top: 120px;

 }

 #wrap-hd .logo {
 
   margin-bottom: 3px;
}

#login_bg{
  height: 100% !important;
}

.error-box {
  left: 0px;
}

/****success***/
.Prompt {
    width: auto;
}

/*注册*/
#header .head-bd {
  margin: 0 auto;
  width: 100%;
 }

 #header .head-bd .reg {
   padding: 11px 10px;
}

.reg-wrap .title {
   margin: 0 0 10px 0;
}
.reg-main .article {
   padding: 10px;
}

.reg-wrap {
    width: 100% !important;
 
}

.login-footer {
   width: 100%;
}

.footer {
  width: 100%;
 
}

.reg-main .article .item dd .form-tt {
    width: auto;
    padding: 8px 10px 8px 0;
}

.reg-main .article .item .captcha-tips .box-ver, .reg-main .article .item .captcha-tips .ico-ok {
   position: static;
}

.reg-main .article .item dd {
   margin: 0 0 10px 0
}
.article .s-txt, .article .s-txt-focus {
    width: 250px;
}


#body_page {
   min-height: 100%;
}


.reg-main .article {
  padding: 10px !important;
}

.reg-main .article .item-step2,.reg-main .article .item-step3,.reg-main .article .item-step4 {
     width: 100% !important;
}

.chanage {
   position: static;
}

.form-avatar {
   margin: 10px 0 0 10px !important;
}


.article .item .form-row {
   float: none;
}

.profession-title {
  width: 100%px;
  height:100%px;
}


.profession-type dt {
   width: 80px;
}

.reg-main .article .item .profession-type dd {
  margin: 0 0 10px 0px;
}

.reg-main .article #post-tag {
    width: auto !important;
}

#post-tag input {
   width: 100% !important;
}


.face_name_list li {
  padding: 0 10px 10px 0 !important;
}

.face_name_list {
   padding: 30px 0 20px 10px;
}
/*index*/
#col5 {
  width: 100%;
}
#page-wrap #main-wrap {
   width: 100%;
}

#body_page {
  background: url("") no-repeat center 0;
}

.ts_confirm{
  left: 30px !important;
}

/****微助手**/
.Recommended li h3 {
    line-height: 22px !important;
    margin-top: 5px;
}

.mainbox_appR {
   width: auto !important;
}

/***黑板报**/
.box {
    width: auto;
}
/***校吧**/
#col3 {
  height: 100%;
}
.rank-box1{
  display: none;
}

.feed_list a.date {
  margin: 0 20px 0 0;
}

.send_weibo {
  margin: 0 0 20px;
  }

.talkPop {
 margin-left: 2px;
}
.talkPop_box {
    width: 280px;
    
    
}

#atchoose .talkPop_box{
position: absolute;
left: -70px;
}

  .content_holder {
    padding: 0px;
    max-width: 960px;
  }
  .footer {
    width: auto;
     max-width: 960px;
}
.login-footer {
  width: auto;
}



 .app-title .search-input {
   margin: 5px;
  } 

.mainbox_appR {
  float: none !important;
}
.mainbox_appC {
margin: 0 auto !important;
width: auto;
padding: 5px;
}

.content_li{
  margin: 0 10px 0 110px;
}



#header {
  height: 80px;
}
#header .head-bd {
  margin: 0 auto;
  width: auto;
}
#header .head-bd .search {
  float: right;
  top: 40px;
}
#header .head-bd .nav li .dropmenu {
  left: -323px;
}



.f12px {
  font-size: 14px;
}



.talkPop {
 margin-left: 2px;
}
.talkPop_box {
    width: 280px;
}

.friend .groupusers {
margin: 0 0 0 140px;
}

.wrap-layer {
 left: 2px !important;
 width: 90%;
}
.wrap-layer .content-layer .layer-follow .tit .s-txt {
  width: 90%;
}
.s-txt{
  margin: 0 5px 5px 0;
}
.s-txt-focus{
  margin: 0 5px 5px 0;
}

.layer-follow {
  width: 90%;
}

.layer-content .send_weibo {
  width: auto !important;
}

.send_weibo .acts {
  height: auto;
}


.feed_list .content p.hd {
   padding: 0 0 25px 60px;
}

.feed_list .content {
   margin: 0 0 0 0px;
}

.close,.hd{

  opacity: 1;
}

#videos .talkPop_box .hd {
  height: auto;
}

.at_search {
  height: 30px;
  width: 200px;
}



  .app-tab-menu li a:link, .app-tab-menu li a:visited {
    padding: 5px 6px;
    margin: 0 5px;
  }


  .ke-menu {
    left: 50px !important;
  }

  .ke-dialog {
    width: 300px !important;
    left: 5px !important;
  }


  .info .list ul li .c2 {
    width: auto !important;
  }



#multi_image .talkPop_box {
  position: absolute;
  left: -110px;
}

#video_content input{
  width: 100% !important;
  margin-bottom: 10px;
}

#videos .talkPop_box {
  position: absolute;
  left: -170px;
}


.tab-menu ul {
    float: left;
    height: 100%;
}
.tab-menu ul li {
    margin: 0 5px 5px 0;
}

.profile-title .person-info-t {
   width: 100% !important;
}

.pop-share {
   width: 300px;
}

.pop-share .choose-user .s-txt, .pop-share .choose-user .s-txt-focus {
    width: 200px;
}


.info .right{
    width: 100%;
}
.info .right + span{
    float: left;
}


.pop-message {
    width: 100%;
    padding: 5px;
}

.pop-message .s-txt, .pop-message .s-txt-focus {
   width: 100%;

}

.pop-message .s-textarea, .pop-message .s-textarea-focus {
    width: 100%;
}

.pop-message .choose-user {
  width: 240px !important;
}

#col4 {
   width: 100%;
}

#col7 {
width: 100%;
}

.form-set dd .form-tt {
    width: auto;
    text-align: left;
}
.form-set dd .form-row {
    width: 100%;
}
.form-set .s-txt, .form-set .s-txt-focus {
    width: 100%;
}

.form-set dd .form-row .s-textarea, .form-set dd .form-row .s-textarea-focus {
   width: 100%;
}

.profession-title {
    width: 100%;
    height: 100%;
}

.profession-type dt {
   width: auto;
}
.profession-type dd {
   margin: 0 0 0 10px;
}
#post-tag,#post-tag input {
    width: 100% !important;
}


.chanage {
    position: static;
}
.form-avatar {
    margin: 20px auto;
    padding: 5px 5px;
}

.item-domain .s-txt, .item-domain .s-txt-focus {
    margin: 5px 5px !important;
    width: 100% !important;
}

.bind-content li div {
    width: auto !important;
    border-right: 0 !important;
    margin-right: 10px;
}


.task-stage {
  display: none;
}

.medal-content {
   width: 100% !important;
}

.invite-title .s-txt {
width: 100%;
margin-bottom: 10px;
}

#col0 {
width: 100%;
}
#col9 {
width: 100%;
margin-top: 10px;
}




.st-index-right {
   min-height: 0px;
}


#col3 {
  width: 100%;
}


#page-wrap #main-wrap {
  width: 100%;
}



.channel-type h4{
 height: auto;
}
.channel-type h4:hover{
  height: auto;
}

.channel-box .channel-tab-menu {
  width: 100%;
}


.acts .face-block, .acts .face-block:hover, .acts .image-block, .acts .image-block:hover, .acts .video-block, .acts .video-block:hover, .acts .file-block, .acts .file-block:hover, .acts .at-block, .acts .at-block:hover, .acts .topic-block, .acts .topic-block:hover, .acts .contribute-block, .acts .contribute-block:hover {
    margin: 10px 10px 0 0;
}

.photo-preview .info {
width: 100%;
}


/***频道**/
.channel-list .box {
   width: 100%;
}
.channel-list .channel-tab-menu {
  width: 100%;
}

.channel-list-l {
   width: 100%;
}

.pic{
  text-align: center;
}


/**消息**/
.system-list dd.face {
  width: auto !important;
}
.system-list dd.info {
   margin: 0 0px 0 40px !important;
}
.private-list {
  padding: 2px 2px !important;
}
.system-list dd p.name {
margin: 0 0 0 0px !important;
}

/**主题设置**/
.changestylepop {
width: 100% !important;
}
.themeDiy {
width: 100% !important;
}
.themecolorWrap {
width: 100% !important;
}



.mod-at-wrap {
 position: relative;
}


/***私信**/
.replay-article {
  padding: 10px 0 0 0px !important;
}

  .replay-article dd.info {
  height: 100% !important;
  }

.replay-article dd .s-textarea, .replay-article dd .s-textarea-focus{
  width: 100% !important;
  margin-top:5px;
}


.login-no-box,.login-no-bg {
width: 100%;
}


/***排名**/
.rank-box {
width: 100% !important;
}
.rank-forward {
width: 100% !important;
}

/***搜索*/
.search-input {
width: 100%;
}

.search-content {
margin: 0 0 0 10px;
}
.search-input input {
width: auto;
}



/***密码**/
.reg-wrap .search-find {
    padding: 0 0 0 10px;
}
.article .s-txt, .article .s-txt-focus {
margin: 0 5px 5px 0;
}


.container {
    width: 100%;
    }
}




}

@media (min-width: 769px) {
.container {
    width: 900px;
    }
}


/*******全局************/
.area-type-list li a:link, .area-type-list li a:visited {
height: 100%;
}

.themePreview a {
   width: auto;
}

/**快速登录*/
.quike-login {
width: 100%;
height: 100%;
padding: 10px 10px 10px;
}
.quike-login li .input-box {
  margin: 0 0 0 50px;
}
.quike-login li .input-box .s-txt {
width: 100%;
}

/**兴趣**/
.channel-type h4{height: 48px;}
.channel-type h4:hover,.on .channel-category-btn{height: 48px;}

.pop-message {
    width: 100%;
    padding: 5px;
}

.pop-message .s-txt, .pop-message .s-txt-focus {
   width: 100%;

}

.pop-message .s-textarea, .pop-message .s-textarea-focus {
    width: 100%;
}

.pop-message .choose-user {
  width: 340px;
}

.user-list li {
width: 100%;
height: 100%;
}

#header .head-bd .nav li .dropmenu {
  width:370px;left:-50px;display:none;z-index:100;
}

 .find-type {
    height: auto !important;
    padding: 5px;
  }

p {
   margin: 0 0 5px;
   text-indent: 0em !important;
}

p img{
  max-width: 100% !important;
}

.themebg_sel {
  height: auto !important;
}
.themebgWrap {
  font-size: 12px
}

.btn-green-small, .btn-green-small:hover {
   width: 60px;
}


.channel-type {
width: 100%;
}


.photo-content {
    top:70px !important;
  }


.btn-att-white span {
   height: 100%;
}

.weiba-myinfo {
  height: 100% !important;
}

.btn-att-green, .btn-att-green:hover {
height: 24px;
}
.chanage {
    position: static;
}

.s-txt-focus  {
   height: 28px;
}

#post-tag input {
    width: 100% !important;
}

.dropdown-menu dd {
border: 0px;
}



.input_tips {
    width: 100%;
    height: 100px;
}

.mod-tab-menu {
    height: 40px;
}
.tab-menu ul {
    margin: 0px;
}

.tab-menu {
   height: 100%;
   width: 100%;
   clear: both;
    display: inline-block;
}


.tab-menu-app ul li a:link, .tab-menu-app ul li a:visited {
   height: 100%;
}

.feed-search .s-txt {
   height: 24px;
}

.radio, .checkbox {
    display: inherit;
}


.layer-massage-box {
  background: #fff;
  border-radius: 3px 3px 3px 3px;
  position: fixed;
  right: 70px;
  top: 50px;
  width: 200px;
  z-index: 9999;
}

.layer-massage-box ul {
  border: #797979 solid 1px;
  padding: 10px;
  margin-bottom: 0px;
}
.ico-close1 {
  position: absolute;
  right: 10px;
  top: 10px;
}

.close {
  float: none;
  font-size: 12px;
  font-weight: normal;
  opacity: 1;
}



.mod-feed-tab .inner-feed-nav li a, .mod-feed-tab .inner-feed-nav li a:hover {
  height: 100%;
}




.at_search input {
 height: auto;
 width: 200px;
}

input[type="radio"], input[type="checkbox"] {
margin: 7px;
}

.f14px {
  font-size: 18px;
}

body {
  _font: 18px important;
  line-height: 100%;
}

/* 禁用iPhone中Safari的字号自动调整 */
html {
-webkit-text-size-adjust： none;
}
/* 设置HTML5元素为块 */
article， aside， details， figcaption， figure， footer， header， hgroup， menu， nav， section {
display： block;
}
/* 设置图片视频等自适应调整 */
img {
max-width： 100%;
height： auto;
width： auto; /* ie8 */
}
.video embed， .video object， .video iframe {
width： 100%;
height： auto;
}





    body {
         background: #66a5b1;
    }
    a:hover, a:focus {
       text-decoration: inherit;
    }

    .btn-cancel span,.btn-big span{
        height: auto;
    }

      .apps {
        width: 370px;
      }
      .apps li{
        float: left;
        position: relative;
        width: 70px;
      }
      .apps li a {
        height: auto;
        width: 70px;
        text-align: center;
        line-height: 16px;

        display: block;
        float: none;
        border: none 0;
        margin: 0;
        padding: 6px 10px;
        font-size: 12px;
        color: #333;
      }

      .apps li img {
        width: 50px;
        height: 50px;
        display: block;
        padding: 0 0 3px 0;
    }
    .W-message {
      min-width: 100px;
    }
    .W-message a{
      display: block;
      float: none;
      border: none 0;
      margin: 0;
      padding: 6px 10px;
      font-size: 12px;
      __color: #333;
      line-height: 17px;
      overflow: hidden;
      white-space: nowrap;
      text-align: left;
    }

    .W-message a:hover {
      background: #f2f2f2;
    }

    .s-txt {
     height: 28px;
    }

#rcalendar div {
    height: auto;
}

#rcalendar_m {
width: 50px;
padding: 0 5px 0 0px;
}

#rtime {
width: 100px;
}

   </style>

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="__THEME__/bootstrap/dist/js/bootstrap.min.js"></script>

    <!-- Static navbar -->
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <!-- Brand and toggle get grouped for better mobile display -->
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="{:SITE_URL}">微校园</a>

        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
          <ul class="nav navbar-nav">
            <volist name='site_top_nav' id='st'>
              <li <php>
                if(APP_NAME == $st['app_name'] || $_GET['page'] == $st['app_name']):
              </php>
              class="current"
              <php>endif;</php>
              >
              <a href="{$st.url}" target="{$st.target}" class="app">{$st.navi_name}</a>
              <if condition="isset($st['child'])">
                <div model-node="drop_menu_list" class="dropmenu" style="width:100px;display:none;">
                  <dl class="acc-list" >
                    <volist name="st.child" id="stc">
                      <dd>
                        <a href="{$stc.url}" target="{$stc.target}">{$stc.navi_name|getShort=6}</a>
                      </dd>
                    </volist>
                  </dl>
                </div>
              </if>
            </li>
          </volist>

          <li class="dropdown">
            <a href="#" class="" data-toggle="dropdown">
              应用 <b class="caret"></b>
            </a>
            <ul class="dropdown-menu apps">
              <volist name="site_nav_apps" id="li">
                <li >
                  <a href="{:U($li['app_name'])}">
                    <img src="<php>
                    echo empty($li['icon_url_large']) ? APPS_URL.'/'.$li['app_name'].'/Appinfo/icon_app_large.png':$li['icon_url_large'];
                  </php>
                  " width="50" height="50" />{$li.app_alias|getShort=4}
                </a>
              </li>
            </volist>
            <li>
              <a href="{:U('public/App/addapp')}">
                <img src="__THEME__/image/more.png" width="50" height="50" />
                更多应用
              </a>
            </li>
          </ul>
        </li>
      </ul>
      <form class="navbar-form navbar-left" role="search" method="get" action="{:U('public/Search/index')}">
        <div class="form-group">
          <input name="app" value="public" type="hidden"/>
          <input name="mod" value="Search" type="hidden"/>
          <input type="hidden" name="t" value="2"/>
          <input type="hidden" name="a" value="public"/>
          <input id="search_input" class="form-control"  type="text" value="搜索一切" onfocus="this.value=''" onblur="setTimeout(function(){ $('#search-box').remove();} , 200);if(this.value=='') this.value='搜索一切';" event-node="searchKey" name='k'  autocomplete="off"></div>
        <button type="submit" class="btn btn-success">搜索</button>
      </form>
      <ul class="nav navbar-nav navbar-right">
        <li>
          <a href="{$user['space_url']}" class="username">{$user['uname']|getShort=6}</a>
        </li>
        <li class="dropdown">
          <a href="#"  data-toggle="dropdown">
            {:L('PUBLIC_MESSAGE')} <b class="caret"></b>
          </a>
          <dl class="dropdown-menu W-message" >
            <dd>
              <a  href="{:U('public/Mention/index')}">@提到我的</a>
            </dd>
            <dd>
              <a  href="{:U('public/Comment/index', array('type'=>'receive'))}">收到的评论</a>
            </dd>
            <dd>
              <a  href="{:U('public/Comment/index', array('type'=>'send'))}">发出的评论</a>
            </dd>
            <dd>
              <a  href="{:U('public/Message/index')}">我的私信</a>
            </dd>
            <dd>
              <a  href="{:U('public/Message/notify')}">系统消息</a>
            </dd>
            <!-- 消息菜单钩子 -->
            {:Addons::hook('header_message_dropmenu')}
            <php>if(CheckPermission('core_normal','send_message')){</php>
            <dd class="border">
              <a event-node="postMsg" href="javascript:void(0)" onclick="ui.sendmessage()">{:L('PUBLIC_SEND_PRIVATE_MESSAGE')}&raquo;</a>
            </dd>
            <php>}</php>
          </dl>
        </li>
        <li class="dropdown">
          <a href="#"  data-toggle="dropdown">
            {:L('PUBLIC_ACCOUNT')}
            <b class="caret"></b>
          </a>

          <dl class="dropdown-menu W-message">
            <dd>
              <a href="{:U('public/Account/index')}">{:L('PUBLIC_SETTING')}</a>
            </dd>

            <php>if(CheckTaskSwitch()):</php>
            <dd>
              <a href="{:U('public/Task/index')}">任务中心</a>
            </dd>
            <dd>
              <a href="{:U('public/Medal/index')}">勋章馆</a>
            </dd>
            <php>endif;</php>

            <dd>
              <a href="{:U('public/Rank/weibo')}">排行榜</a>
            </dd>

            <php>if(!isVerified($user['uid'])):</php>
            <dd>
              <a href="{:U('public/Account/authenticate')}">申请认证</a>
            </dd>
            <php>endif;</php>

            <php>
              if(isInvite() && CheckPermission('core_normal','invite_user')):
            </php>
            <dd>
              <a href="{:U('public/Invite/invite')}">{:L('PUBLIC_INVITE_COLLEAGUE')}</a>
            </dd>
            <php>endif;</php>
            <!-- 个人设置菜单钩子 -->
            {:Addons::hook('header_account_dropmenu')}
            <php>if(CheckPermission('core_admin','admin_login')){</php>
            <dd>
              <a href="{:U('admin')}">{:L('PUBLIC_SYSTEM_MANAGEMENT')}</a>
            </dd>
            <php>}</php>

            <dd class="border">
              <a href="{:U('public/Passport/logout')}">{:L('PUBLIC_LOGOUT')}&raquo;</a>
            </dd>
            <dd>   <a href="{:U('public/index/about')}">关于</a>    </dd>
          </dl>
        </li>


      </ul>


    </div>
    <!-- /.navbar-collapse --> </div>
</nav>
<!-- /container -->

 <php> if(MODULE_NAME !='Register'):</php>
                <div id="message_container" class="layer-massage-box" style="display:none">
                    <ul class="message_list_container" >
                        <li rel="new_folower_count" style="display:none"><span></span>，<a href="{:U('public/Index/follower',array('uid'=>$mid))}">{:L('PUBLIC_FOLLOWERS_REMIND')}</a></li>
                        <li rel="unread_comment" style="display:none"><span></span>，<a href="{:U('public/Comment/index',array('type'=>'receive'))}">{:L('PUBLIS_MESSAGE_REMIND')}</a></li>
                        <li rel="unread_message" style="display:none"><span></span>，<a href="{:U('public/Message')}" >{:L('PUBLIS_MESSAGE_REMIND')}</a></li>
                        <li rel="unread_atme" style="display:none"><span></span>，<a href="{:U('public/Mention')}">{:L('PUBLIS_MESSAGE_REMIND')}</a></li>
                        <li rel="unread_notify" style="display:none"><span></span>，<a href="{:U('public/Message/notify')}">{:L('PUBLIS_MESSAGE_REMIND')}</a></li>
                        <li rel="unread_group_atme" style="display:none"><span></span>，<a href="{:U('group/SomeOne/index')}">{:L('PUBLIS_MESSAGE_REMIND')}</a></li>
                        <li rel="unread_group_comment" style="display:none"><span></span>，<a href="{:U('group/SomeOne/index')}">{:L('PUBLIS_MESSAGE_REMIND')}</a></li> 
                    </ul>
                <a href="javascript:void(0)" onclick="core.dropnotify.closeParentObj()" class="ico-close1"></a>
                </div>
                <php>endif;</php>

<script type="text/javascript">
    $(document).ready(function(){
        $("#mod-product dd").hover(function() {
            $(this).addClass("hover");
        },function() {
            $(this).removeClass("hover");
        });
        core.plugInit('search');
    });
    core.plugFunc('dropnotify',function(){
        setTimeout(function(){
            core.dropnotify.init('message_list_container','message_container');
        },320);   
    });
    </script>
</session>
</div>
<php>
//出现注册提示的页面
$show_register_tips = array('public/Profile','public/Topic','weiba/Index');
if(!$mid && in_array(APP_NAME.'/'.MODULE_NAME,$show_register_tips)){
</php>
<php>
$registerConf = model('Xdata')->get('admin_Config:register');
</php>
<!--未登录前-->
<div class="login-no-bg">
<div class="login-no-box boxShadow clearfix">
<div class="login-reg right">
  <php>if($registerConf['register_type'] == 'open'){</php>
  <a href="{:U('public/Register/index')}" class="btn-reg">立即注册</a>
  <php>}</php>
  <span>
    已有帐号？
    <a href="javascript:quickLogin()">立即登录</a>
  </span>
</div>
<p class="left">
  <span>欢迎来到{$site.site_name}</span>
  赶紧注册与朋友们分享快乐点滴吧！
</p>
</div>
</div>
<php>}</php>